#!/bin/bash
tar xf xz-5.2.4.tar.xz
cd xz-5.2.4
./configure --prefix=$1/usr --disable-static --host=$4
make -j$2
make install
cd ..
rm -rf xz-5.2.4

